package sim;

import java.io.*;
import java.lang.*;
import javax.microedition.lcdui.*;

import sim.utils.*;
import sim.framework.*;
import sim.framework.gui.*;
import sim.framework.dialog.*;
import sim.framework.io.*;

public class ModDemo extends Module {
    
    private static final byte   STATE_SEARCHING = 11;
    private static final byte   STATE_WRITING   = 22;
    private static final byte   STATE_READING   = 33;
    
    private boolean             m_bCancel;
    
    private static final byte   CTRL_ID_LABEL   = 2;
    private static final byte   CTRL_ID_PROMPT  = 10;
    private static final byte   CTRL_ID_BANNER  = 20;
    private static final byte   CTRL_ID_DATE    = 25;
    private static final byte   CTRL_ID_EDIT    = 30;
    private static final byte   CTRL_ID_LIST    = 40;
    
    private static final byte   CTRL_ID_SOFTMENU        = 50;
    private static final byte   CTRL_ID_SOFTMENU_OK     = CTRL_ID_SOFTMENU + 1;
    private static final byte   CTRL_ID_SOFTMENU_RETRY  = CTRL_ID_SOFTMENU + 2;
    private static final byte   CTRL_ID_SOFTMENU_CANCEL = CTRL_ID_SOFTMENU + 3;
    
    private Dialog     gui;
    
    private int     count;
    private String  str;
    private StringBuffer sb = new StringBuffer();
    private int ooo = 100;
    
    private int msAppLast, msApp;
    
    
    public ModDemo( int i, Simlet s ) {
        super(i, s);
        m_bCancel = false;
    }
    
    public void work( Msg msg ) {
    }
        
}
